<script>
export default {
  created () {
    this.$nextTick(() => {
      const { params, query } = this.$route
      const { path } = params
      this.$router.push({ path: '/' + path, query })
    })
  },
  render: function (h) {
    return h() // avoid warning message
  }
}
</script>
